package com.example.ibsp_demo.service.impl;

import com.example.ibsp_demo.mapper.content.PartitionMapper;
import com.example.ibsp_demo.pojo.entity.content.Partition;
import com.example.ibsp_demo.service.content.PartitionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PartitionServiceImp implements PartitionService {

    @Autowired
    private PartitionMapper partitionMapper;

    @Override
    public List<Partition> selectAllOrderedBySort() {
        return partitionMapper.selectAllOrderedBySort();
    }
}